package com.cy.pj.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class PageController {
	@RequestMapping("doIndexUI")
	public String doIndexUI() {
		return "starter";
	}

	@RequestMapping("doPageUI")
	public String doPageUI() {
		return "common/page";
	}

	@RequestMapping("log/doLogUI")
	public String doLogUI() {
		return "sys/log_list";
	}

	@RequestMapping("menu/doMenuListUI")
	public String doMenuListUI(){
		return "sys/menu_list";
	}

	@RequestMapping("menu/doMenuEditUI")
	public String doMenuEditUI(){
		return "sys/menu_edit";
	}

	@RequestMapping("role/doRoleListUI")
	public String doRolelistUI(){
		return "sys/role_list";
	}
	
	@RequestMapping("role/doRoleEditUI")
	public String doRoleEditUI(){
		return "sys/role_edit";
	}
	
	@RequestMapping("user/doUserListUI")
	public String doUserListUI(){
		return "sys/user_list";
	}
	
	@RequestMapping("user/doUserEditUI")
	public String doUserEditUI(){
		return "sys/user_edit";
	}
	
	@RequestMapping("doLoginUI")
	public String doLoginUI(){
		return "login";
	}
	
	@RequestMapping("user/doPwdEditUI")
	public String doPwdEditUI() {
		return "sys/pwd_edit";
	}

}
